package com.cy.ppj.dao.mapper.rule;

import com.cy.ppj.model.domian.rule.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectPattern();

    List<Menu> selectByRoleId(@Param("roleId") Long roleId, @Param("administrator") Long administrator);

}
